package com.yeshine.opendata.service;

import com.yeshine.opendata.core.IService;
import com.yeshine.opendata.entity.DataSet;
import com.yeshine.opendata.entity.dto.StatisticsResult;
import com.yeshine.opendata.utils.Result;

import java.util.List;

/**
 * Created by taohj on 2014/6/28.
 */
public interface IDataSetService extends IService<DataSet>{

    List<StatisticsResult> statisticsByOrg(DataSet dataSet);

    List<StatisticsResult>  statisticsByTags(DataSet dataSet);

    List<StatisticsResult>  statisticsByFormat(DataSet dataSet);


    Result<DataSet> joinMyOrg(DataSet dataSet);

    Result<DataSet> removeFromMyOrg(DataSet dataSet);
}
